package cumeo89.chii.client.entry.renderer;

import cumeo89.chii.client.entry.AbstractRenderer;
import cumeo89.chii.client.ui.TrivialNamedPanel;
import cumeo89.chii.client.ui.TrivialPanel;

class TrivialListRenderer extends AbstractRenderer {

	public TrivialListRenderer(String tag, String style) {
		TrivialPanel panel = new TrivialPanel(tag);
		panel.setStyleName(style);
		initWidget(panel);
	}

	public TrivialListRenderer(String tag, String style, String names[]) {
		TrivialNamedPanel panel = new TrivialNamedPanel(tag, names);
		panel.setStyleName(style);
		initWidget(panel);
	}

}
